package com.bonuo.crm.mapper;

import com.bonuo.crm.domain.Plan;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface PlanMapper {

    List<Plan> selectPlanList(Plan plan);

    Integer insertPlan(Plan plan);

    Integer updatePlan(Plan plan);

    Integer deletePlan(Integer id);

    BigDecimal selectTotalSaleAmount(@Param("collect") String collect,@Param("year") String year);

    Plan selectPlanContentById(Integer id);
}